package com.sdry.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sdry.entity.Stagnant;
import com.sdry.entity.StagnantExample;

public interface StagnantMapper {
    int countByExample(StagnantExample example);

    int deleteByExample(StagnantExample example);

    int deleteByPrimaryKey(Long stagnantId);

    int insert(Stagnant record);

    int insertSelective(Stagnant record);

    List<Stagnant> selectByExample(StagnantExample example);

    Stagnant selectByPrimaryKey(Long stagnantId);

    int updateByExampleSelective(@Param("record") Stagnant record, @Param("example") StagnantExample example);

    int updateByExample(@Param("record") Stagnant record, @Param("example") StagnantExample example);

    int updateByPrimaryKeySelective(Stagnant record);

    int updateByPrimaryKey(Stagnant record);
    
    /**
     * 批量删除
     * @param ids
     * @return 影响行数
     */
    public int deleteByPrimaryKeys(String ids);
}